package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 属性组
 * </p>
 *
 * @author zcx, ftl, gr, rhs
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_propgroup")
@ApiModel(value = "GoodsPropgroup对象", description = "属性组")
public class GoodsPropgroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "属性组编号")
    @TableId(value = "goods_propgroup_id", type = IdType.AUTO)
    private Integer goodsPropgroupId;

    @ApiModelProperty(value = "属性组名")
    @TableField("goods_propgroup_name")
    private String goodsPropgroupName;

    @ApiModelProperty(value = "状态")
    @TableField("goods_propgroup_status")
    private Integer goodsPropgroupStatus;

    @ApiModelProperty(value = "排序")
    @TableField("goods_propgroup_sort")
    private Integer goodsPropgroupSort;


    @ApiModelProperty(value = "三类id")
    @TableField("goods_smaller_id")
    private Integer goodsSmallerId;

    @ApiModelProperty(value = "三类名")
    @TableField("goods_smaller_name")
    private String goodsSmallerName;

    @TableField("goods_propgroup_index")
    private Integer goodsPropgroupIndex;
}
